package com.ymttest.database.sharding.db.sharding.mapper;

import com.ymttest.database.sharding.db.sharding.model.PrepaidCardExample;
import com.ymttest.database.sharding.db.sharding.model.PrepaidCardPo;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PrepaidCardMapper {
    int countByExample(PrepaidCardExample example);

    int deleteByExample(PrepaidCardExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PrepaidCardPo record);

    int insertSelective(PrepaidCardPo record);

    List<PrepaidCardPo> selectByExample(PrepaidCardExample example);

    PrepaidCardPo selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PrepaidCardPo record, @Param("example") PrepaidCardExample example);

    int updateByExample(@Param("record") PrepaidCardPo record, @Param("example") PrepaidCardExample example);

    int updateByPrimaryKeySelective(PrepaidCardPo record);

    int updateByPrimaryKey(PrepaidCardPo record);
}